package com.beself.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * author:徐明
 * date：2019/10/15 19:55
 * description:日期表
 */

public class Datetime {

    private Integer dId;
//    日期时间，时间戳
@DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date dDate;
//    当天的习惯完成状态
    private int hStatus;
    private int uId;
    private String data2;
    private String data3;

    public Datetime() {
    }

    public Datetime(Integer dId, Date dDate, int hStatus, int uId, String data2, String data3) {
        this.dId = dId;
        this.dDate = dDate;
        this.hStatus = hStatus;
        this.uId = uId;
        this.data2 = data2;
        this.data3 = data3;
    }

    public Integer getdId() {
        return dId;
    }

    public void setdId(Integer dId) {
        this.dId = dId;
    }

    public Date getdDate() {
        return dDate;
    }

    public void setdDate(Date dDate) {
        this.dDate = dDate;
    }

    public int gethStatus() {
        return hStatus;
    }

    public void sethStatus(int hStatus) {
        this.hStatus = hStatus;
    }

    public int getuId() {
        return uId;
    }

    public void setuId(int uId) {
        this.uId = uId;
    }

    public String getData2() {
        return data2;
    }

    public void setData2(String data2) {
        this.data2 = data2;
    }

    public String getData3() {
        return data3;
    }

    public void setData3(String data3) {
        this.data3 = data3;
    }
}
